home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
CURSOR.ZIP
/
CURSOR.TXT
< prev
next >
Wrap
Text File
|
1995-04-09
|
949b
|
31 lines
Getting rid of the Dos Cursor
A pain in the ^$^!@$ if you dont know how to Right?
The Unit Cursor.pas - does it by simply calling the video interupt ($10)
as shown in any good reference manual.
set AH to 01
set CH to the High Scan Line
set CL to the Low Scan Line
and call interupt 10
How the scan lines work I'm not totally sure of
But I have included the four basic types of cursors
You can play around to find anything else.
If You Don't have access to the Hi and Lo functions of Turbo Pascal 7.0
then simply substitute the 'Left-Half' of the wordconstants for the Hi value
and the 'Right-Half' for the Lo value.
i.e.
SetCursor(UlCursor);
or
Setcursor($0607);
would be passed as
SetCursorScanLines($06, $07);
***********************************************************************
Standard Disclaimer Applies
(I didn't write DOS so I can't be responsible for anything it does)
Tím Tám.